//
//  BankVertifyController.m
//  ATMCash
//
//  Created by zhengchengfeng on 2024/9/11.
//

#import "BankVertifyController.h"

#import "BankVerfityModel.h"

#import "InPutTableViewCell.h"
#import "PickerThreeView.h"
#import "PickerCityView.h"


#import "IdentifyCardController.h"
#import "IDVertifyViewController.h"
#import "FaceViewController.h"
#import "IDVerfitySuccessController.h"
#import "IDVertifyModel.h"
#import "PersonVertifyController.h"
#import "ContactVertifyController.h"
#import "WorkInfoVertifyController.h"


#define kTabTopCell       @"kTabTopCell"
#define kTabBottomCell    @"kTabBottomCell"

#define kFootViewHeight  (15 + 40 + 48 + (IS_IPhoneX_All ? kHeight_BottomSafe : 15))

@interface BankVertifyController ()

@property (nonatomic) NSArray *responseAry;

@property (nonatomic) UIScrollView *scrollView;

@property (nonatomic) UIButton *lastBtn;

@property (nonatomic) NSString *gigglingStr;

@end

@implementation BankVertifyController

- (void)back{
    [self.view endEditing:YES];
    if (self.isFromH5ChangeBankCard) {
        [super back];
        return;
    }
    TipsAlertWLView *wl = [[TipsAlertWLView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight)];
    [[UIApplication sharedApplication].keyWindow addSubview:wl];
    wl.clickSureBlock = ^{
        [[self getCurrentVC] jumpToPopControlClass:@"OrderDetailViewController"];
    };
}

- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:NO animated:animated];
}


- (void)initFootView{

    UIView *bottomV = [[UIView alloc] initWithFrame:CGRectMake(0, kScreenHeight - kFootViewHeight - kNavigationBarHeight, kScreenWidth, kFootViewHeight)];
    bottomV.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:bottomV];
    
    UIImageView *tipsIcon = [[UIImageView alloc] initWithFrame:CGRectMake(15, 15, 12, 12)];
    [bottomV addSubview:tipsIcon];
    tipsIcon.image = [UIImage imageNamed:@"icon_bk2"];
    
    UILabel *tipsLab = [Utility createLabel:[UIFont fontWithName:kFuturaMedium size:12] color:[UIColor colorWithHexString:@"#638473"]];
    [bottomV addSubview:tipsLab];
    tipsLab.frame = CGRectMake(tipsIcon.right + 5, 10, kScreenWidth - tipsIcon.right - 5, 35);
    tipsLab.numberOfLines = 0;
    tipsLab.text = @"After your confirmation,this account will be used as a receipt account to receive the funds";
   
    
    UIButton *nextBtn = [[UIButton alloc] initWithFrame:CGRectMake(15, tipsLab.bottom + 5, kScreenWidth - 30, 48)];
    nextBtn.titleLabel.font = [UIFont fontWithName:kFuturaMedium size:16];
    [nextBtn setTitleColor:[UIColor colorWithHexString:@"#FFEFC2"] forState:UIControlStateNormal];
    [nextBtn setTitleColor:[UIColor colorWithHexString:@"#FFEFC2"] forState:UIControlStateSelected];
    [nextBtn setTitleColor:[UIColor colorWithHexString:@"#FFEFC2"] forState:UIControlStateHighlighted];
    [nextBtn setTitle:@"Submit" forState:UIControlStateNormal];
    [nextBtn setTitle:@"Submit" forState:UIControlStateSelected];
    [nextBtn setTitle:@"Submit" forState:UIControlStateHighlighted];
    [nextBtn setBackgroundImage:[UIImage imageNamed:@"icon_idf4"] forState:UIControlStateNormal];
    [nextBtn setBackgroundImage:[UIImage imageNamed:@"icon_idf4"] forState:UIControlStateSelected];
    [nextBtn setBackgroundImage:[UIImage imageNamed:@"icon_idf4"] forState:UIControlStateHighlighted];
    [nextBtn addTarget:self action:@selector(clickSubmitBtn) forControlEvents:UIControlEventTouchUpInside];
    [bottomV addSubview:nextBtn];

}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"Bank Card Info";

    [self loadData];
    
    [self.tableView registerClass:[InPutTableViewCell class] forCellReuseIdentifier:kTabTopCell];
    [self.tableView registerClass:[InPut2TableViewCell class] forCellReuseIdentifier:kTabBottomCell];
    
}

- (void)loadData{
    [CreaditUtilsHelper boxShowLoadWithMessage:@""];
    NSMutableDictionary *muDic = @{
        @"apparently":self.isFromH5ChangeBankCard ? @"1" : @"0",
        @"tablecloth":@"tableclothBankCard"
    }.mutableCopy;
    [BaseDataEngine apiForPath:kVertifyBankCardUrl method:kGetMethod parameter:muDic onCompleteSuccess:^(NSDictionary *responseDic) {
        DLog(@"-----%@",responseDic);
        [CreaditUtilsHelper hideLoadMessageBox];
        if ([responseDic[@"dim"] integerValue] != kSuccessCode) {
            [CreaditUtilsHelper boxShowErrorWithMessage:esString(responseDic[@"platform"]) duration:2.5f];
            return;
        }
        
        NSDictionary *dic = responseDic[@"recollecting"];
        
        NSArray *ary = dic[@"mob"];
        
        if (isArray(ary)) {
            self.responseAry = ary;
    
            self.tableView.frame = CGRectMake(0, 0, kScreenWidth, kScreenHeight - kFootViewHeight - kNavigationBarHeight);
            [self initHeadView];
            [self initFootView];
            self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 20)];
            
        }
        
        [self.tableView reloadData];
        
    } onCompleteFailur:^(NSError *error) {
        [CreaditUtilsHelper hideLoadMessageBox];
    } withIsForm:NO];
}

- (void)initHeadView{
    UIImage *img = [UIImage imageNamed:@"icon_bk1"];
    UIView *headV = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, DimensionBaseIphone6(img.size.height) + 68)];
    self.tableView.tableHeaderView = headV;
    
    UIImageView *iconImgView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, DimensionBaseIphone6(img.size.height))];
    [headV addSubview:iconImgView];
    iconImgView.image = img;
    
    self.scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, iconImgView.bottom, kScreenWidth, 68)];
    [headV addSubview:self.scrollView];
    self.scrollView.backgroundColor = [UIColor clearColor];
    self.scrollView.showsHorizontalScrollIndicator = NO;
    self.scrollView.showsVerticalScrollIndicator = NO;
    
    self.scrollView.contentSize = CGSizeMake(kScreenWidth, self.scrollView.frame.size.height);
    
    
    NSInteger count = 3;//self.responseAry.count
    CGFloat fixL = 15;
    CGFloat fixM = 20;
    CGFloat itemBtnWidth = (kScreenWidth - fixL*2 - fixM *(count - 1)) /count;
    
    count = self.responseAry.count;
    
    for (int i = 0; i<count; i++) {
        
        BankVerfityModel *mm = [BankVerfityModel mj_objectWithKeyValues:self.responseAry[i]];
        
        UIButton *btn =[[UIButton alloc] init];
        btn.tag = i;
        btn.frame = CGRectMake(i*itemBtnWidth + fixL + fixM*i, 12,itemBtnWidth, self.scrollView.frame.size.height - 20);
        
        [btn setBackgroundImage:[UIImage imageNamed:@"icon_orderUnsel"] forState:UIControlStateNormal];
        [btn setBackgroundImage:[UIImage imageNamed:@"icon_orderSel"] forState:UIControlStateSelected];
        
        [btn setTitle:esString(mm.ego) forState:UIControlStateNormal];
        [btn setTitle:esString(mm.ego) forState:UIControlStateNormal];
        
        [btn setTitleColor:[UIColor colorWithHexString:@"#FFFFFF"] forState:UIControlStateNormal];
        [btn setTitleColor:[UIColor colorWithHexString:@"#FFFFFF"] forState:UIControlStateSelected];
        
        btn.titleLabel.font = [UIFont fontWithName:kFuturaMedium size:12];
        
        [btn addTarget:self action:@selector(scrollBtnClick:) forControlEvents:UIControlEventTouchUpInside];
        
        if (i == 0) {
            
            NSDictionary *dic = self.responseAry[i];
            
            self.gigglingStr = esString(dic[@"risen"]);
            
            if (isArray(dic[@"mob"])) {
                NSArray *mobArr = dic[@"mob"];
                self.data = [InPutModel mj_objectArrayWithKeyValuesArray:mobArr];
            }
            
            
            [self.tableView reloadData];
            
            btn.selected = YES;
            self.lastBtn = btn;
            [self scrollBtnClick:self.lastBtn];
        }
        
        [self.scrollView addSubview:btn];
       
    }
    
   
    
    
}

- (void)scrollBtnClick:(UIButton *)btn{
    
    if (btn.selected) {
        return;
    } 
    
    _lastBtn.selected = NO;
    
    btn.selected = YES;
    
    _lastBtn = btn;
    
    [self.data removeAllObjects];
    
    NSDictionary *dic = self.responseAry[btn.tag];
    
    self.gigglingStr = esString(dic[@"risen"]);
    
    if (isArray(dic[@"mob"])) {
        NSArray *mobArr = dic[@"mob"];
        self.data = [InPutModel mj_objectArrayWithKeyValuesArray:mobArr];
    }
    
    
    [self.tableView reloadData];

}



- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
    return self.data.count;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 1;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    if (indexPath.section < 3) {
        InPutTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kTabTopCell];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
        cell.isBank = YES;
        cell.model = self.data[indexPath.section];
        return cell;
    }
    
    InPut2TableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kTabBottomCell];
    cell.selectionStyle = UITableViewCellSelectionStyleNone;
    cell.isBank = YES;
    cell.model = self.data[indexPath.section];
    return cell;
    
    
}

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    if (indexPath.section < 3) {
        return 105;
    }
    return 100;
}


- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
    
    if (indexPath.section < 3) {
        
        InPutTableViewCell *selCell = [tableView cellForRowAtIndexPath:indexPath];
        InPutModel *mm  = selCell.model;
        
        if ([mm.weak isEqualToString:kMakemoneyk]) {
           
            PickerThreeView *picker = [[PickerThreeView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight) withTitleStr:esString(self.lastBtn.titleLabel.text) withDataArr:mm.frightens];
            [[UIApplication sharedApplication].keyWindow addSubview:picker];
            [picker showBottomView];
            picker.callBackModelArr = ^(NSArray * _Nonnull selArr) {
               
                FrightensModel *mod = [FrightensModel mj_objectWithKeyValues:selArr.firstObject];
//                mm.mightn = esString(mod.cambridge);
//                mm.risen = esString(mod.risen);
                mm.mightn = esString(mod.risen);
                mm.spoon = esString(mod.spoon);
                mm.patterns = esString(mod.cambridge);
                [self.tableView reloadData];
            };
            
        }
        

    }
    else {
        
        InPut2TableViewCell *selCell = [tableView cellForRowAtIndexPath:indexPath];
        InPutModel *mm  = selCell.model;
        
        if ([mm.weak isEqualToString:kMakemoneyk]) {
            
            PickerThreeView *picker = [[PickerThreeView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight) withTitleStr:esString(self.lastBtn.titleLabel.text) withDataArr:mm.frightens];
            [[UIApplication sharedApplication].keyWindow addSubview:picker];
            [picker showBottomView];
            picker.callBackModelArr = ^(NSArray * _Nonnull selArr) {
                
                FrightensModel *mod = [FrightensModel mj_objectWithKeyValues:selArr.firstObject];
                mm.mightn = esString(mod.risen);
                mm.spoon = esString(mod.spoon);
                mm.patterns = esString(mod.cambridge);
                [self.tableView reloadData];
            };
            
        }
        
        
        
    }
    
    
    
    
}

- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
    UIView *sectionView = [[UIView alloc] init];
    
    
    if (section == 3) {
      
        UIImageView *tipsIcon = [[UIImageView alloc] initWithFrame:CGRectMake(15, 10, 12, 12)];
        [sectionView addSubview:tipsIcon];
        tipsIcon.image = [UIImage imageNamed:@"icon_bk4"];
        
        UILabel *tipsLab = [Utility createLabel:[UIFont fontWithName:kFuturaMedium size:12] color:[UIColor colorWithHexString:@"#638473"]];
        [sectionView addSubview:tipsLab];
        tipsLab.frame = CGRectMake(tipsIcon.right + 5, 5, kScreenWidth - tipsIcon.right - 5, 35);
        tipsLab.numberOfLines = 0;
        tipsLab.text = @"Ensure that the account informations are correct,otherwise the transfer may fail";
    }
    
    
    
    return sectionView;
}

- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
    
    if (section < 3) {
        return 0.00001f;
    }
    if (section == 3) {
        return 50;
    }
    return 10.0001f;
}

- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{
    UIView *footView = [[UIView alloc] init];
    return footView;
}

- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
    return 0.00001f;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (void)clickSubmitBtn{
    [self.view endEditing:YES];
    
//    DLog(@"=====%@",self.data);
    
    NSMutableDictionary *muDic = [NSMutableDictionary dictionary];
    [muDic setValue:esString(self.idStr) forKey:@"gardens"];
    [muDic setValue:@"theatreBank" forKey:@"theatre"];
    
    for (int i=0; i<self.data.count; i++) {
        InPutModel *mm = [InPutModel mj_objectWithKeyValues:self.data[i]];
//        if ([mm.weak isEqualToString:kMakemoneyk]) {
//            [muDic setValue:esString(mm.risen) forKey:esString(mm.dim)];
//        }
//        else{
//            [muDic setValue:esString(mm.mightn) forKey:esString(mm.dim)];
//        }
        [muDic setValue:esString(mm.mightn) forKey:esString(mm.dim)];
        [muDic setValue:esString(self.gigglingStr) forKey:@"giggling"];
    }
    DLog(@"=====%@",muDic);
   
    [CreaditUtilsHelper boxShowLoadWithMessage:@""];
    [BaseDataEngine apiForPath:kStoreBankCardUrl method:kPostMethod parameter:muDic onCompleteSuccess:^(NSDictionary *responseDic) {
        [CreaditUtilsHelper hideLoadMessageBox];
        if ([responseDic[@"dim"] integerValue] != kSuccessCode) {
            [CreaditUtilsHelper boxShowErrorWithMessage:esString(responseDic[@"platform"]) duration:2.5f];
            return;
        }
        [CreditServerHelper uploadMaiDianDataStartTimeStr:self.startTimeStr andEndTimeStr:[NSString getNowTimeTimestamp:@"yyyyMMdd HH:mm:ss"] withTypeStr:@"8" withFirmly:esString(self.idStr) withSmaller:esString([[NSUserDefaults standardUserDefaults] valueForKey:kOrderNumber])];
        
        if (self.isFromH5ChangeBankCard) {
            NSDictionary *dic = responseDic[@"recollecting"];
            NSString *bankIdStr = esString(dic[@"leaning"]);
            [self changeBankUrl:bankIdStr];
            return;
        }
        [self enterNextPage];
        
//        [[NSNotificationCenter defaultCenter] postNotificationName:kNeedRefreshOrderDetNotification object:nil];
        
    } onCompleteFailur:^(NSError *error) {
        [CreaditUtilsHelper hideLoadMessageBox];
    } withIsForm:YES];
    
}

- (void)enterNextPage{
    
    [CreaditUtilsHelper boxShowLoadWithMessage:@""];
    
    NSMutableDictionary *muDic = @{
        @"gardens":esString(self.idStr),
        @"tuesday":@"tuesdayOrderDet",
        @"needn":@"neednOrderDet",
    }.mutableCopy;
    [BaseDataEngine apiForPath:kProductDetUrl method:kPostMethod parameter:muDic onCompleteSuccess:^(NSDictionary *responseDic) {
        [CreaditUtilsHelper hideLoadMessageBox];
        DLog(@"=====%@",responseDic);
        if ([responseDic[@"dim"] integerValue] != kSuccessCode) {
            [CreaditUtilsHelper boxShowErrorWithMessage:esString(responseDic[@"platform"]) duration:2.5f];
            return;
        }
        
        NSDictionary *dic = responseDic[@"recollecting"];
       
        NSDictionary *lauDic = dic[@"laughing"];
        
        if (PMObjectIsEmpty(lauDic)) {
            [self enterOrderH5Page];
            return;
        }
        if ([esString(lauDic[@"tumbled"]) isEqualToString:kMakemoneyf]) {
            [self goIdentifyVertify];
        }
        else if ([esString(lauDic[@"tumbled"]) isEqualToString:kMakemoneyg]) {
            [self goPersonalVertify];
        }
        else if ([esString(lauDic[@"tumbled"]) isEqualToString:kMakemoneyi]) {
            [self goContactVertify];
        }
        else if ([esString(lauDic[@"tumbled"]) isEqualToString:kMakemoneyh]) {
            [self goWorkVertify];
        }
        
    } onCompleteFailur:^(NSError *error) {
        [CreaditUtilsHelper hideLoadMessageBox];
    } withIsForm:YES];
    
}

- (void)enterOrderH5Page{
    
    NSString *stTime = [NSString getNowTimeTimestamp:@"yyyyMMdd HH:mm:ss"];
    
    NSMutableDictionary *muDic = @{
        @"commissariat":esString([[NSUserDefaults standardUserDefaults] valueForKey:kOrderNumber]),
        @"tracked":@"trackedIdStr",
        @"rot":@"rotIdStr",
        @"thrown":@"thrownIdStr",
        @"object":@"objectIdStr",
    }.mutableCopy;
    [CreaditUtilsHelper boxShowLoadWithMessage:@""];
    [BaseDataEngine apiForPath:kByOrderIdGetUrl method:kPostMethod parameter:muDic onCompleteSuccess:^(NSDictionary *responseDic) {
        [CreaditUtilsHelper hideLoadMessageBox];
        if ([responseDic[@"dim"] integerValue] != kSuccessCode) {
            [CreaditUtilsHelper boxShowErrorWithMessage:esString(responseDic[@"platform"]) duration:2.5f];
            return;
        }
        [CreditServerHelper uploadMaiDianDataStartTimeStr:stTime andEndTimeStr:[NSString getNowTimeTimestamp:@"yyyyMMdd HH:mm:ss"] withTypeStr:@"9" withFirmly:esString(self.idStr) withSmaller:esString([[NSUserDefaults standardUserDefaults] valueForKey:kOrderNumber])];
        
        NSDictionary *dic = responseDic[@"recollecting"];
        
        [[CreditCore globleCore] jumpToPage:esString(dic[@"exulting"])];
        
        
    } onCompleteFailur:^(NSError *error) {
        [CreaditUtilsHelper hideLoadMessageBox];
    } withIsForm:YES];
}

#pragma mark ----goIdentifyVertify
- (void)goIdentifyVertify{
    [CreaditUtilsHelper boxShowLoadWithMessage:@""];
    NSMutableDictionary *muDic = @{
        @"gardens":esString(self.idStr),
        @"loose":@"looseIdentify"
    }.mutableCopy;
    [BaseDataEngine apiForPath:kIDCardVertifyUrl method:kGetMethod parameter:muDic onCompleteSuccess:^(NSDictionary *responseDic) {
        [CreaditUtilsHelper hideLoadMessageBox];
        if ([responseDic[@"dim"] integerValue] != kSuccessCode) {
            [CreaditUtilsHelper boxShowErrorWithMessage:esString(responseDic[@"platform"]) duration:2.5f];
            return;
        }

        NSDictionary *dic = responseDic[@"recollecting"];
        
        IDVertifyModel *model = [IDVertifyModel mj_objectWithKeyValues:dic];
        
        
        if ([model.spluttering.teetotallers integerValue] == 0) {
            IDVertifyViewController *vc = [[IDVertifyViewController alloc] init];
            vc.ocrCardArr = model.wherever;
            vc.idStr = esString(self.idStr);
            [self.navigationController pushViewController:vc animated:YES];
        }
       
        else if ([model.spluttering.teetotallers integerValue] == 1 && [model.abruptly integerValue] == 0 ){
            FaceViewController *vc = [[FaceViewController alloc] init];
            vc.cardStr = esString(model.spluttering.giggling);
            vc.idStr = esString(self.idStr);
            [self.navigationController pushViewController:vc animated:YES];
        }
        else if ([model.spluttering.teetotallers integerValue] == 1 && [model.abruptly integerValue] == 1){
            IDVerfitySuccessController *vc = [[IDVerfitySuccessController alloc] init];
            vc.cardStr = esString(model.spluttering.giggling);
            vc.nameStr = esString(model.spluttering.smoke.cambridge);
            vc.idNoStr = esString(model.spluttering.smoke.swallowed);
            vc.birDateStr = esString(model.spluttering.smoke.tightening);
            vc.idStr = esString(self.idStr);
            [self.navigationController pushViewController:vc animated:YES];
        }
        
    } onCompleteFailur:^(NSError *error) {
        [CreaditUtilsHelper hideLoadMessageBox];
    } withIsForm:NO];
}

#pragma mark ----goPersonalVertify
- (void)goPersonalVertify{
    PersonVertifyController *vc = [[PersonVertifyController alloc] init];
    vc.idStr = esString(self.idStr);
    [self.navigationController pushViewController:vc animated:YES];
}

#pragma mark ----goContactVertify
- (void)goContactVertify{
    ContactVertifyController *vc = [[ContactVertifyController alloc] init];
    vc.idStr = esString(self.idStr);
    [self.navigationController pushViewController:vc animated:YES];
}

#pragma mark ----goWorkVertify
- (void)goWorkVertify{
    WorkInfoVertifyController *vc = [[WorkInfoVertifyController alloc] init];
    vc.idStr = esString(self.idStr);
    [self.navigationController pushViewController:vc animated:YES];
}


#pragma mark ----changeBankUrl
- (void)changeBankUrl:(NSString *)bankIdStr{
    [CreaditUtilsHelper boxShowLoadWithMessage:@""];
    NSMutableDictionary *muDic = @{
        @"leaning":esString(bankIdStr),
        @"commissariat":esString(self.orderNoStr),
    }.mutableCopy;
    [BaseDataEngine apiForPath:kChangeBankCardUrl method:kPostMethod parameter:muDic onCompleteSuccess:^(NSDictionary *responseDic) {
        [CreaditUtilsHelper hideLoadMessageBox];
        if ([responseDic[@"dim"] integerValue] != kSuccessCode) {
            [CreaditUtilsHelper boxShowErrorWithMessage:esString(responseDic[@"platform"]) duration:2.5f];
            return;
        }
        
        NSDictionary *dic = responseDic[@"recollecting"];
        
        [[CreditCore globleCore] jumpToPage:esString(dic[@"stunted"])];
        
        
    } onCompleteFailur:^(NSError *error) {
        [CreaditUtilsHelper hideLoadMessageBox];
    } withIsForm:YES];
}

@end
